package linkedlist;

public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(2);
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(4);
        myLinkedList.addFirst(1);
        myLinkedList.addIndex(2,10);
        myLinkedList.display();
        System.out.println(myLinkedList.contains(10));
        myLinkedList.removeAllKeys(1);
        myLinkedList.display();
    }
}
